// var Highcharts = require('highcharts');

module.exports = {
    bar: {
        chart: {
            type: 'area'
        },
        title: {
            text: '全球各国新冠确诊总人数'
        },
        xAxis: {
            categories: ['6月', '7月', '8月', '9月', '10月', '11月', '12月'],
            tickmarkPlacement: 'on',
            title: {
                enabled: false
            }
        },
        yAxis: {
            title: {
                text: '百万'
            },
        },
        tooltip: {
            split: true,
            valueSuffix: ' 百万'
        },
        plotOptions: {
            area: {
                stacking: 'normal',
                lineColor: '#666666',
                lineWidth: 1,
                marker: {
                    lineWidth: 1,
                    lineColor: '#666666'
                }
            }
        },
        series: [{
            name: '美国',
            data: [3, 27, 36, 50, 59, 70, 82]
        }, {
            name: '印度',
            data: [2, 4, 6, 7, 9.3, 9.6, 10]
        }, {
            name: '巴西',
            data: [1, 3, 4.7, 5, 6.5, 6.7, 7.8]
        }, {
            name: '俄罗斯',
            data: [1.2, 2.1, 2.3, 2.5, 2.7, 3, 3.3]
        }]
    }
}